package com.tjmc.recruit.finance.api.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.tjmc.recruit.finance.api.enums.UsageTypeEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.math.BigDecimal;

/**
 * 购买项兑换配置表
 *
 * @author recruit
 * @date 2024-11-25 16:38:09
 */
@Data
@TableName("buy_item_exchange_conf")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "购买项兑换配置表")
public class BuyItemExchangeConfEntity extends Model<BuyItemExchangeConfEntity> {


	/**
	* id
	*/
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description="id")
    private Integer id;

	/**
	* 购买项类别
	*/
    @Schema(description="购买项类别")
    private UsageTypeEnum buyItemType;

	/**
	* 购买金额
	*/
    @Schema(description="购买金额")
    private BigDecimal buyPrice;

	/**
	* 购买数量
	*/
    @Schema(description="购买数量")
    private Integer buyNum;
}
